<%@ page language="java"
	import="java.util.*,java.lang.*,java.text.SimpleDateFormat,com.firesrc.bean.Config"
	contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>修改系统配置参数</title>
</head>
<%
	Config systConfig = (Config) request.getAttribute("config");
%>
<body>
	<h2>修改系统配置参数</h2>
	<form action="/ConfigServlet" method="post">
		<input type="hidden" name="type" value="save">
		<input type="hidden" name="id" value="<%=systConfig.getId()%>">
		<table>
			<tbody>
				<tr>
					<td>参数名称</td>
					<td><%=systConfig.getName()%></td>
				</tr>
				<tr>
					<td>参数值</td>
					<td><input type="text" name="value"
						value="<%=systConfig.getValue()%>"></td>
				</tr>
				<tr>
					<td>默认值</td>
					<td><input type="text" name="defaultValue"
						value="<%=systConfig.getDefaultValue()%>"></td>
				</tr>
				<tr>
					<td>参数说明</td>
					<td><input type="text" name="remark"
						value="<%=systConfig.getRemark()%>"></td>
				</tr>
				<tr>
					<td>参数状态</td>
					<td><input type="text" name="state" value="1"
						value="<%=systConfig.getState()%>"></td>
				</tr>

			</tbody>
		</table>
		<input type="submit">
	</form>
</body>
</html>